package com.mq.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;

@Controller
public class AckPoolConfig {

	/**
	 * 是否开启自定义线程池
	 */
	@Value("${executor.ack.custom}")
	private boolean custom;
	/**
	 * 核心线程数
	 */
	@Value("${executor.ack.corePoolSize}")
	private int corePoolSize;
	public boolean isCustom() {
		return custom;
	}
	public void setCustom(boolean custom) {
		this.custom = custom;
	}
	public int getCorePoolSize() {
		return corePoolSize;
	}
	public void setCorePoolSize(int corePoolSize) {
		this.corePoolSize = corePoolSize;
	}
	
	
	
}
